<?php

namespace App\Models;


class UserInfo extends MyModel
{
    protected $table = 'my_user_info';

    public function user()
    {
        return $this->hasOne('Modules\User\Models\User','id','user_id');
    }

    public function province()
    {
        return $this->hasOne('Modules\System\Models\Region', 'id', 'p_id');
    }
}